package com.mes.cloud.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @description: 职位员工
 * @author: syn
 * @create: 2019-10-30
 **/
@ApiModel(value = "PostUserDTO", description = "职位员工")
@Data
public class PostUserDTO implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "关联表id", dataType = "Long")
    private Long id;

    @ApiModelProperty(value = "员工id", dataType = "Long")
    private Long userId;

    @ApiModelProperty(value = "职位id", dataType = "Long")
    private Long postId;

    @ApiModelProperty(value = "组织Id", dataType = "Long")
    private Long orgId;

    @ApiModelProperty(value = "员工编码", dataType = "Long")
    private String userNo;

    @ApiModelProperty(value = "员工姓名", dataType = "Long")
    private String userName;

    @ApiModelProperty(value = "状态01在职 02离职", dataType = "Long")
    private String userStatus;

    @ApiModelProperty(value = "员工类型01正式员工、02非正式员工", dataType = "Long")
    private String userType;

    @ApiModelProperty(value = "职位主要员工", dataType = "Long")
    private Integer isMainUser;

    @ApiModelProperty(value = "职位名称", dataType = "String")
    private String postName;

    @ApiModelProperty(value = "职位编码", dataType = "String")
    private String postCode;

    @ApiModelProperty(value = "职位类型", dataType = "String")
    private String postType;

    @ApiModelProperty(value = "员工主要职位标识", dataType = "String")
    private String isMain;

    @ApiModelProperty(value = "关联日期", dataType = "String")
    private String associatDate;

}
